package com.zzb.framework.event;

import com.zzb.framework.common.BaseResponse;
import org.springframework.transaction.annotation.Transactional;

/**
 *
 * Created by zhangzhenbin on 17-2-21.
 */
public interface AbstractProcessor<EVENT extends BaseEvent> {
    @Transactional
    BaseResponse execute(EVENT event);
}
